#region Using directives
using System;
using System.Data;
#endregion

namespace WP.MF.DataEntity
{

	/*
	 * Created by Web Smart Create Code Tool
	 * At 4/22/2005
	 */

	//=========MUserLocation  mUserLocation============================
	[System.ComponentModel.DesignerCategory("Code")]
	public class MUserLocationDEL:DataSet
	{
		//=========mUserLocation ============================
		public const string TABLENAME_MUSERLOCATION="mUserLocation";
		public const string RECID="RecId";
		public const string USERNAME="UserName";
		public const string LOCATION="Location";
		public const string LOCATIONDESC="LocationDesc";
		public const string ACCESS="Access";
        private System.Collections.Specialized.NameValueCollection mVarCollection = new System.Collections.Specialized.NameValueCollection();
        public System.Collections.Specialized.NameValueCollection VarCollection
        {
            get { return mVarCollection; }
            set { mVarCollection = value; }
        }

		public MUserLocationDEL()
		{
			//Create mUserLocation structure
			CreatemUserLocationStructure();

		}

		//=========mUserLocation============================
		private void CreatemUserLocationStructure()
		{
			DataTable table;
			DataColumnCollection DCC;
			DataColumn DC=new DataColumn();
			table=new DataTable (TABLENAME_MUSERLOCATION);
			DCC=table.Columns;

			DC=new DataColumn(RECID,typeof(System.Int32));
			DCC.Add(DC);

			DC=new DataColumn(USERNAME,typeof(System.String));
			DCC.Add(DC);

			DC=new DataColumn(LOCATION,typeof(System.String));
			DCC.Add(DC);

			DC=new DataColumn(LOCATIONDESC,typeof(System.String));
			DCC.Add(DC);

			DC=new DataColumn(ACCESS,typeof(System.Boolean));
			DC.DefaultValue="1";
			DCC.Add(DC);

			this.Tables.Add (table);
		}

	}
}